package com.congee02.springframework.util;

public final class ClassUtils {

    private ClassUtils() {}

    public static boolean isCglibProxy(Object object) {
        return /*object instanceof SpringProxy &&*/ isCglibProxyClass(object.getClass());
    }

    public static boolean isCglibProxyClass(Class<?> clazz) {
        return clazz.getName().contains("$$");
    }

}
